package com.xxzuibang.day11.abstruct_;

public class Manager extends Employee{
    private double bonus;

    @Override
    public void work() {
        System.out.println("经理"+getName()+"工作中，，，");
    }

    public Manager(String name, int id, double salary, double bonus) {
        super(name, id, salary);
        this.bonus = bonus;

    }
}
